#!/bin/sh
#
# $Robsofa: __clean_cache.sh,v 1.0 2009/08/26 07:34:57 Bleakwind Exp $
#
# Copyright (c) 2003-2009 Bleakwind (www.weaverdream.com)
# http://www.weaverdream.com/
#




echo "##############################"
echo "#    www.weaverdream.com     #"
echo "#         Robsofa            #"
echo "#      Please wait ...       #"
echo "##############################"

echo "Start to clean cache..."



find ./cache/ -name "*.htm" -delete
find ./cache/ -name "*.htm.php" -delete
find ./cache/ -name "*debug.tpl.php" -delete
find ./cache/ -name "wrt*.tmp" -delete
find ./cache/ -name "adodb_*.cache" -delete

find ./admin/cache/ -name "*.htm" -delete
find ./admin/cache/ -name "*.htm.php" -delete
find ./admin/cache/ -name "*debug.tpl.php" -delete
find ./admin/cache/ -name "wrt*.tmp" -delete
find ./admin/cache/ -name "adodb_*.cache" -delete

find ./install/cache/ -name "*.htm" -delete
find ./install/cache/ -name "*.htm.php" -delete
find ./install/cache/ -name "*debug.tpl.php" -delete
find ./install/cache/ -name "wrt*.tmp" -delete
find ./install/cache/ -name "adodb_*.cache" -delete

find ./build/ -name "*.jpg" -delete
find ./build/ -name "*.gif" -delete
find ./build/ -name "*.png" -delete

echo "Finish to clean cache..."
